ie.omk.smpp.message.tlv
Class NoEncoderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ie.omk.smpp.message.tlv.NoEncoderException
All Implemented Interfaces:
Serializable

public class NoEncoderException
extends RuntimeException

No encoder found for a Java type. An attempt was made to define a new tag with a value type that the API does not have a known encoder for. The application should define a new encoder and define the tag passing that encoder to the Tag.defineTag(int, java.lang.Class, ie.omk.smpp.message.tlv.Encoder, int) method.

Version:
$Id: NoEncoderException.java 267 2006-03-09 16:37:31Z orank $
Author:
Oran Kelly
See Also:
Serialized Form

Constructor Summary
NoEncoderException(Class type)
          Create a new NoEncoderException.
NoEncoderException(Class type, String msg)
          Create a new NoEncoderException.
 
Method Summary
 Class getType()
           
 
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

NoEncoderException

public NoEncoderException(Class type)
Create a new NoEncoderException.

Parameters:
type - The Java type that no encoder was found for.

NoEncoderException

public NoEncoderException(Class type,
                          String msg)
Create a new NoEncoderException.

Parameters:
type - The Java type that no encoder was found for.
msg - The exception message.
Method Detail

getType

public Class getType()


Copyright © 2011 smppapi at Sourceforge. All Rights Reserved.