Class SOCPPortfolioConstraint.ConstraintViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- dev.nm.solver.multivariate.constrained.convex.sdp.socp.problem.portfoliooptimization.SOCPPortfolioConstraint.ConstraintViolationException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SOCPPortfolioConstraint
public static class SOCPPortfolioConstraint.ConstraintViolationException extends Exception
Exception thrown when a constraint is violated.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConstraintViolationException()
Constructs aConstraintViolationException
.ConstraintViolationException(String err)
Constructs aConstraintViolationException
with an error message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConstraintViolationException
public ConstraintViolationException()
Constructs aConstraintViolationException
.
-
ConstraintViolationException
public ConstraintViolationException(String err)
Constructs aConstraintViolationException
with an error message.- Parameters:
err
- an error message
-
-