Class UnsupportedTypeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
one.tranic.t.base.exception.UnsupportedTypeException
All Implemented Interfaces:
Serializable

public class UnsupportedTypeException extends RuntimeException
A custom exception that indicates an operation involving an unsupported or invalid type.
See Also:
  • Constructor Details

    • UnsupportedTypeException

      public UnsupportedTypeException(String message)
      Constructs a new UnsupportedTypeException with the specified detail message.

      The message can provide additional information about the unsupported or invalid type.

      Parameters:
      message - the detail message explaining the cause or context of the exception
    • UnsupportedTypeException

      public UnsupportedTypeException()
      Constructs a new UnsupportedTypeException with no detail message.

      This constructor creates an instance of UnsupportedTypeException for use in signaling operations involving unsupported or invalid types where no specific message is required.

    • UnsupportedTypeException

      public UnsupportedTypeException(Exception exception)
      Constructs a new UnsupportedTypeException with the specified exception as the cause.
      Parameters:
      exception - the exception that caused this UnsupportedTypeException to be thrown
    • UnsupportedTypeException

      public UnsupportedTypeException(Object object)
      Constructs a new UnsupportedTypeException with a detail message that includes the class name of the unsupported object's type.
      Parameters:
      object - the object of the unsupported type