Uses of Class
io.sundr.model.Throw

  • Uses of Throw in io.sundr.model

    Methods in io.sundr.model that return Throw
    Modifier and Type
    Method
    Description
    static Throw
    Throw.illegalArgument(Expression messageExpression)
    Creates a throw statement for IllegalArgumentException with an expression message.
    static Throw
    Throw.illegalArgument(String message)
    Creates a throw statement for IllegalArgumentException with a simple message.
    static Throw
    Throw.illegalState(Expression messageExpression)
    Creates a throw statement for IllegalStateException with an expression message.
    static Throw
    Throw.illegalState(String message)
    Creates a throw statement for IllegalStateException with a simple message.
    static Throw
    Throw.newInstance(ClassRef exceptionClassRef, Expression messageExpression)
    Creates a throw statement for a new instance of the specified exception class with an expression message.
    static Throw
    Throw.newInstance(ClassRef exceptionClassRef, String message)
    Creates a throw statement for a new instance of the specified exception class with a message.
    static Throw
    Throw.newInstance(Class<?> exceptionClass, Expression messageExpression)
    Creates a throw statement for a new instance of the specified exception class with an expression message.
    static Throw
    Throw.newInstance(Class<?> exceptionClass, String message)
    Creates a throw statement for a new instance of the specified exception class with a message.
    static Throw
    Throw.runtimeException(Expression messageExpression)
    Creates a throw statement for RuntimeException with an expression message.
    static Throw
    Throw.runtimeException(String message)
    Creates a throw statement for RuntimeException with a simple message.