|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.intermine.api.bag.IncompatibleTypesException
public class IncompatibleTypesException
Exception thrown when given bags are of incompatible types, has methods to set and fetch the types
| Constructor Summary | |
|---|---|
IncompatibleTypesException(java.lang.String msg)
Constructs an IncompatibleBagTypesException with the specified detail message. |
|
IncompatibleTypesException(java.lang.String msg,
java.lang.Throwable t)
Constructs an IncompatibleBagTypesException with the specified detail message and nested throwable. |
|
IncompatibleTypesException(java.lang.Throwable t)
Constructs an IncompatibleBagTypesException with the specified nested throwable. |
|
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
getTypes()
Get the bag types that were incompatible. |
void |
setTypes(java.util.Collection<java.lang.String> types)
Set the bag types that were incompatible. |
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IncompatibleTypesException(java.lang.String msg)
msg - the detail messagepublic IncompatibleTypesException(java.lang.Throwable t)
t - the nested throwable
public IncompatibleTypesException(java.lang.String msg,
java.lang.Throwable t)
msg - the detail messaget - the nested throwable| Method Detail |
|---|
public void setTypes(java.util.Collection<java.lang.String> types)
types - the bag typespublic java.util.Collection<java.lang.String> getTypes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||