com.sap.cloud.yaas.servicesdk.security.PathTraversalException Maven / Gradle / Ivy
/*
* © 2017 SAP SE or an SAP affiliate company.
* All rights reserved.
* Please see http://www.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and
* notices.
*/
package com.sap.cloud.yaas.servicesdk.security;
/**
* Path traversal specific exception. Thrown in case the path traversal is somehow violated.
*/
public class PathTraversalException extends RuntimeException
{
private static final long serialVersionUID = -6094031447354896897L;
/**
* Constructs the exception with given message.
*
* @param message a message
*/
public PathTraversalException(final String message)
{
super(message);
}
/**
* Constructs the exception with given message and a cause.
*
* @param message the entity message
* @param cause another exception that is the cause of this one
*/
public PathTraversalException(final String message, final Throwable cause)
{
super(message, cause);
}
}