|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.ClassCastException org.ref_send.brand.WrongBrand
public class WrongBrand
Signals a Brand
mismatch.
Field Summary | |
---|---|
Brand<?> |
actual
actual brand |
Brand<?> |
expected
expected brand |
Constructor Summary | |
---|---|
WrongBrand(Brand<?> expected,
Brand<?> actual)
Constructs an instance. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final Brand<?> expected
public final Brand<?> actual
Constructor Detail |
---|
public WrongBrand(Brand<?> expected, Brand<?> actual)
expected
- expected
actual
- actual
|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.