PHP 인터페이스 WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface

파일 보기 프로젝트 열기: woohoolabs/yin 0 사용 예제들

공개 메소드들

메소드 설명
createApplicationErrorException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request ) : Exception
createClientGeneratedIdAlreadyExistsException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $currentId ) : Exception
createClientGeneratedIdNotSupportedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $currentId ) : Exception
createClientGeneratedIdRequiredException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request ) : Exception
createDataMemberMissingException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request ) : Exception
createFullReplacementProhibitedException ( string $relationshipName ) : Exception
createInclusionUnrecognizedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, array $unrecognizedInclusions ) : Exception
createInclusionUnsupportedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request ) : Exception
createMediaTypeUnacceptableException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $mediaTypeName ) : Exception
createMediaTypeUnsupportedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $mediaTypeName ) : Exception
createQueryParamUnrecognizedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $queryParamName ) : Exception
createRelationshipNotExists ( string $relationship ) : Exception
createRelationshipTypeInappropriateException ( string $relationshipName, string $currentRelationshipType, string $expectedRelationshipType ) : Exception
createRemovalProhibitedException ( string $relationshipName ) : Exception
createRequestBodyInvalidJsonApiException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, array $validationErrors, boolean $includeOriginalBody )
createRequestBodyInvalidJsonException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $lintMessage, boolean $includeOriginalBody )
createResourceIdInvalidException ( string $id ) : Exception
createResourceIdMissingException ( ) : Exception
createResourceIdentifierIdMissing ( array $resourceIdentifier ) : Exception
createResourceIdentifierTypeMissing ( array $resourceIdentifier ) : Exception
createResourceNotFoundException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request ) : Exception
createResourceTypeMissingException ( ) : Exception
createResourceTypeUnacceptableException ( string $currentType, array $acceptedTypes ) : Exception
createResponseBodyInvalidJsonApiException ( Psr\Http\Message\ResponseInterface $response, array $validationErrors, boolean $includeOriginalBody ) : Exception
createResponseBodyInvalidJsonException ( Psr\Http\Message\ResponseInterface $response, string $lintMessage, boolean $includeOriginalBody ) : Exception
createSortParamUnrecognizedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $paramName ) : Exception
createSortingUnsupportedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request ) : Exception

메소드 상세

createApplicationErrorException() 공개 메소드

public createApplicationErrorException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
리턴 Exception

createClientGeneratedIdAlreadyExistsException() 공개 메소드

public createClientGeneratedIdAlreadyExistsException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $currentId ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
$currentId string
리턴 Exception

createClientGeneratedIdNotSupportedException() 공개 메소드

public createClientGeneratedIdNotSupportedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $currentId ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
$currentId string
리턴 Exception

createClientGeneratedIdRequiredException() 공개 메소드

public createClientGeneratedIdRequiredException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
리턴 Exception

createDataMemberMissingException() 공개 메소드

public createDataMemberMissingException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
리턴 Exception

createFullReplacementProhibitedException() 공개 메소드

public createFullReplacementProhibitedException ( string $relationshipName ) : Exception
$relationshipName string
리턴 Exception

createInclusionUnrecognizedException() 공개 메소드

public createInclusionUnrecognizedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, array $unrecognizedInclusions ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
$unrecognizedInclusions array
리턴 Exception

createInclusionUnsupportedException() 공개 메소드

public createInclusionUnsupportedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
리턴 Exception

createMediaTypeUnacceptableException() 공개 메소드

public createMediaTypeUnacceptableException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $mediaTypeName ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
$mediaTypeName string
리턴 Exception

createMediaTypeUnsupportedException() 공개 메소드

public createMediaTypeUnsupportedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $mediaTypeName ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
$mediaTypeName string
리턴 Exception

createQueryParamUnrecognizedException() 공개 메소드

public createQueryParamUnrecognizedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $queryParamName ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
$queryParamName string
리턴 Exception

createRelationshipNotExists() 공개 메소드

public createRelationshipNotExists ( string $relationship ) : Exception
$relationship string
리턴 Exception

createRelationshipTypeInappropriateException() 공개 메소드

public createRelationshipTypeInappropriateException ( string $relationshipName, string $currentRelationshipType, string $expectedRelationshipType ) : Exception
$relationshipName string
$currentRelationshipType string
$expectedRelationshipType string
리턴 Exception

createRemovalProhibitedException() 공개 메소드

public createRemovalProhibitedException ( string $relationshipName ) : Exception
$relationshipName string
리턴 Exception

createRequestBodyInvalidJsonApiException() 공개 메소드

public createRequestBodyInvalidJsonApiException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, array $validationErrors, boolean $includeOriginalBody )
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
$validationErrors array
$includeOriginalBody boolean

createRequestBodyInvalidJsonException() 공개 메소드

public createRequestBodyInvalidJsonException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $lintMessage, boolean $includeOriginalBody )
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
$lintMessage string
$includeOriginalBody boolean

createResourceIdInvalidException() 공개 메소드

public createResourceIdInvalidException ( string $id ) : Exception
$id string
리턴 Exception

createResourceIdMissingException() 공개 메소드

public createResourceIdMissingException ( ) : Exception
리턴 Exception

createResourceIdentifierIdMissing() 공개 메소드

public createResourceIdentifierIdMissing ( array $resourceIdentifier ) : Exception
$resourceIdentifier array
리턴 Exception

createResourceIdentifierTypeMissing() 공개 메소드

public createResourceIdentifierTypeMissing ( array $resourceIdentifier ) : Exception
$resourceIdentifier array
리턴 Exception

createResourceNotFoundException() 공개 메소드

public createResourceNotFoundException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
리턴 Exception

createResourceTypeMissingException() 공개 메소드

public createResourceTypeMissingException ( ) : Exception
리턴 Exception

createResourceTypeUnacceptableException() 공개 메소드

public createResourceTypeUnacceptableException ( string $currentType, array $acceptedTypes ) : Exception
$currentType string
$acceptedTypes array
리턴 Exception

createResponseBodyInvalidJsonApiException() 공개 메소드

public createResponseBodyInvalidJsonApiException ( Psr\Http\Message\ResponseInterface $response, array $validationErrors, boolean $includeOriginalBody ) : Exception
$response Psr\Http\Message\ResponseInterface
$validationErrors array
$includeOriginalBody boolean
리턴 Exception

createResponseBodyInvalidJsonException() 공개 메소드

public createResponseBodyInvalidJsonException ( Psr\Http\Message\ResponseInterface $response, string $lintMessage, boolean $includeOriginalBody ) : Exception
$response Psr\Http\Message\ResponseInterface
$lintMessage string
$includeOriginalBody boolean
리턴 Exception

createSortParamUnrecognizedException() 공개 메소드

public createSortParamUnrecognizedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, string $paramName ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
$paramName string
리턴 Exception

createSortingUnsupportedException() 공개 메소드

public createSortingUnsupportedException ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request ) : Exception
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
리턴 Exception