Class ProfileResolutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- gov.nist.secauto.oscal.lib.profile.resolver.ProfileResolutionException
-
- All Implemented Interfaces:
Serializable
public class ProfileResolutionException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfileResolutionException(String message)Create a new profile resolution exception with the providedmessage.ProfileResolutionException(String message, Throwable cause)Create a new profile resolution exception with the providedmessagebased on the providedcause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProfileResolutionException
public ProfileResolutionException(String message)
Create a new profile resolution exception with the providedmessage.- Parameters:
message- a description of the error that occurred
-
ProfileResolutionException
public ProfileResolutionException(String message, @NonNull Throwable cause)
Create a new profile resolution exception with the providedmessagebased on the providedcause.- Parameters:
message- a description of the error that occurredcause- the initial cause of the exception
-
-