Package org.onosproject.net.intent
Class IntentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.onosproject.net.intent.IntentException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
IntentCompilationException
@Beta public class IntentException extends java.lang.RuntimeException
Represents an intent related error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntentException()
Constructs an exception with no message and no underlying cause.IntentException(java.lang.String message)
Constructs an exception with the specified message.IntentException(java.lang.String message, java.lang.Throwable cause)
Constructs an exception with the specified message and the underlying cause.
-
-
-
Constructor Detail
-
IntentException
public IntentException()
Constructs an exception with no message and no underlying cause.
-
IntentException
public IntentException(java.lang.String message)
Constructs an exception with the specified message.- Parameters:
message
- the message describing the specific nature of the error
-
IntentException
public IntentException(java.lang.String message, java.lang.Throwable cause)
Constructs an exception with the specified message and the underlying cause.- Parameters:
message
- the message describing the specific nature of the errorcause
- the underlying cause of this error
-
-