org.apache.tuscany.sdo.codegen
Class NoJavaImplementationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.tuscany.sdo.codegen.GenerationException
                  extended by 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

Constructor Summary
NoJavaImplementationException(String message, Type type)
          Constructor supplying a message and the Type that did not have a Java implementation.
NoJavaImplementationException(Type type)
          Constructor supplying the Type that did not have a Java implementation.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 message
type - the type that did not have a Java implementation.
Method Detail

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.