org.apache.tuscany.sdo.codegen
Class NoJavaImplementationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.tuscany.sdo.codegen.GenerationException
org.apache.tuscany.sdo.codegen.NoJavaImplementationException
- All Implemented Interfaces:
- Serializable
public class NoJavaImplementationException
- extends GenerationException
Exception that indicates there is no Java mapping for an SDO type.
- See Also:
- Serialized Form
Method Summary |
Type |
getType()
Return the type that did not have a Java implementation. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoJavaImplementationException
public NoJavaImplementationException(Type type)
- Constructor supplying the Type that did not have a Java implementation.
A default message is provided of the form "${URI}#${Name}"
- Parameters:
type
- the type that did not have a Java implementation.
NoJavaImplementationException
public NoJavaImplementationException(String message,
Type type)
- Constructor supplying a message and the Type that did not have a Java implementation.
- Parameters:
message
- the messagetype
- the type that did not have a Java implementation.
getType
public Type getType()
- Return the type that did not have a Java implementation.
- Returns:
- the type that did not have a Java implementation
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.